package tests;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

/**
 * Testklasse
 * 
 * @author Michi
 * 
 */
public class SQLTest {

	@SuppressWarnings("unused")
	public SQLTest() {
		try {
			final String DB_PATH = System.getProperty("user.home") + "/"
					+ "fireballDatabase.db";
			Class.forName("org.sqlite.JDBC");
			Connection conn = DriverManager.getConnection("jdbc:sqlite:"
					+ DB_PATH);
			Statement stat = conn.createStatement();

		} catch (ClassNotFoundException e) {
			System.err.println("Fehler beim Laden des JDBC-Treibers");
			e.printStackTrace();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

	public static void main(String[] args) {
		new SQLTest();
	}
}
